<%@page contentType="text/html;charset=UTF-8"%>
<% request.setCharacterEncoding("UTF-8"); %>
<HTML>
<HEAD>
<TITLE>Result</TITLE>
</HEAD>
<BODY>
<H1>Result</H1>

<jsp:useBean id="sampleAccountDetailsServiceProxyid" scope="session" class="com.blog.samples.webservices.accountservice.AccountDetailsServiceProxy" />
<%
if (request.getParameter("endpoint") != null && request.getParameter("endpoint").length() > 0)
sampleAccountDetailsServiceProxyid.setEndpoint(request.getParameter("endpoint"));
%>

<%
String method = request.getParameter("method");
int methodID = 0;
if (method == null) methodID = -1;

if(methodID != -1) methodID = Integer.parseInt(method);
boolean gotMethod = false;

try {
switch (methodID){ 
case 2:
        gotMethod = true;
        java.lang.String getEndpoint2mtemp = sampleAccountDetailsServiceProxyid.getEndpoint();
if(getEndpoint2mtemp == null){
%>
<%=getEndpoint2mtemp %>
<%
}else{
        String tempResultreturnp3 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(getEndpoint2mtemp));
        %>
        <%= tempResultreturnp3 %>
        <%
}
break;
case 5:
        gotMethod = true;
        String endpoint_0id=  request.getParameter("endpoint8");
            java.lang.String endpoint_0idTemp = null;
        if(!endpoint_0id.equals("")){
         endpoint_0idTemp  = endpoint_0id;
        }
        sampleAccountDetailsServiceProxyid.setEndpoint(endpoint_0idTemp);
break;
case 10:
        gotMethod = true;
        com.blog.samples.webservices.accountservice.AccountDetailsService getAccountDetailsService10mtemp = sampleAccountDetailsServiceProxyid.getAccountDetailsService();
if(getAccountDetailsService10mtemp == null){
%>
<%=getAccountDetailsService10mtemp %>
<%
}else{
        if(getAccountDetailsService10mtemp!= null){
        String tempreturnp11 = getAccountDetailsService10mtemp.toString();
        %>
        <%=tempreturnp11%>
        <%
        }}
break;
case 13:
        gotMethod = true;
        String accountNumber_2id=  request.getParameter("accountNumber28");
            java.lang.String accountNumber_2idTemp = null;
        if(!accountNumber_2id.equals("")){
         accountNumber_2idTemp  = accountNumber_2id;
        }
        %>
        <jsp:useBean id="com1blog1samples1webservices1accountservice1AccountDetailsRequest_1id" scope="session" class="com.blog.samples.webservices.accountservice.AccountDetailsRequest" />
        <%
        com1blog1samples1webservices1accountservice1AccountDetailsRequest_1id.setAccountNumber(accountNumber_2idTemp);
        com.blog.samples.webservices.accountservice.AccountDetailsResponse accountDetails13mtemp = sampleAccountDetailsServiceProxyid.accountDetails(com1blog1samples1webservices1accountservice1AccountDetailsRequest_1id);
if(accountDetails13mtemp == null){
%>
<%=accountDetails13mtemp %>
<%
}else{
%>
<TABLE>
<TR>
<TD COLSPAN="3" ALIGN="LEFT">returnp:</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">accountDetails:</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD WIDTH="5%"></TD>
<TD COLSPAN="1" ALIGN="LEFT">accountStatus:</TD>
<TD>
<%
if(accountDetails13mtemp != null){
com.blog.samples.webservices.Account tebece0=accountDetails13mtemp.getAccountDetails();
if(tebece0 != null){
com.blog.samples.webservices.EnumAccountStatus.Enum typeaccountStatus18 = tebece0.getAccountStatus();
        if(typeaccountStatus18!= null){
        String tempaccountStatus18 = typeaccountStatus18.toString();
        %>
        <%=tempaccountStatus18%>
        <%
        }}}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD WIDTH="5%"></TD>
<TD COLSPAN="1" ALIGN="LEFT">accountName:</TD>
<TD>
<%
if(accountDetails13mtemp != null){
com.blog.samples.webservices.Account tebece0=accountDetails13mtemp.getAccountDetails();
if(tebece0 != null){
java.lang.String typeaccountName20 = tebece0.getAccountName();
        String tempResultaccountName20 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(typeaccountName20));
        %>
        <%= tempResultaccountName20 %>
        <%
}}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD WIDTH="5%"></TD>
<TD COLSPAN="1" ALIGN="LEFT">accountBalance:</TD>
<TD>
<%
if(accountDetails13mtemp != null){
com.blog.samples.webservices.Account tebece0=accountDetails13mtemp.getAccountDetails();
if(tebece0 != null){
%>
<%=tebece0.getAccountBalance()
%><%}}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD WIDTH="5%"></TD>
<TD COLSPAN="1" ALIGN="LEFT">accountNumber:</TD>
<TD>
<%
if(accountDetails13mtemp != null){
com.blog.samples.webservices.Account tebece0=accountDetails13mtemp.getAccountDetails();
if(tebece0 != null){
java.lang.String typeaccountNumber24 = tebece0.getAccountNumber();
        String tempResultaccountNumber24 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(typeaccountNumber24));
        %>
        <%= tempResultaccountNumber24 %>
        <%
}}%>
</TD>
</TABLE>
<%
}
break;
}
} catch (Exception e) { 
%>
Exception: <%= org.eclipse.jst.ws.util.JspUtils.markup(e.toString()) %>
Message: <%= org.eclipse.jst.ws.util.JspUtils.markup(e.getMessage()) %>
<%
return;
}
if(!gotMethod){
%>
result: N/A
<%
}
%>
</BODY>
</HTML>